import java.io.*;
import java.math.BigInteger;

public class Main 
{
	public static void main(String[] args) throws Exception 
	{
	    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

	    while (in.ready())
	    {
	    	String s = in.readLine();
	    	BigInteger n1 = new BigInteger(s);
	    	
	    	s = in.readLine();
	    	n1 = n1.multiply(new BigInteger(s));
	    	
	    	System.out.println(n1.toString());
	    }
	}

}
